package com.uusee.crawler.framework;

import com.uusee.crawler.model.CrawlURI;

public class CrawlThread implements Runnable {
	private CrawlURI crawlURI;
	private Job job;

	public CrawlThread(CrawlURI crawlURI, Job job) {
		this.crawlURI = crawlURI;
		this.job = job;
	}

	public void run() {
		job.crawl(crawlURI);
	}
}
